package com.kungkhies.persistence.kungkher;

import java.util.List;

import com.kungkhies.domain.kungkher.Kungkher;
import com.kungkhies.domain.kungkhie.KungkhieSummary;

public interface KungkherDao
{
    public  void addKungkher(Kungkher kungkher);

    public void saveKungkher(Kungkher kungkher);

    public Kungkher getKungkherById(long id);

    public List<KungkhieSummary> getRecentKungkhies();

    public void saveKungkhie(KungkhieSummary kungkhie);

    public List<KungkhieSummary> getKungkhiesForKungkher(Kungkher kungkher);

    public Kungkher getKungkherByUsername(String username);

    public void deleteKungkhie(long id);

    public KungkhieSummary getKungkhieById(long id);

    public List<Kungkher> findAllKungkhers();
    
    public boolean kungkherNameExists(String kungkherName);
    
    public boolean emailAddressExists(String emailAddress);
}
